﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;

public class Night : UIBase
{
    public override void DoOnEntering()
    {
        transform.DOLocalMoveY(201.5f, 0.5f);
    }
    public override void Start()
    {
        base.Start();
    }
    public override void DoOnPausing()
    {
        this.canvasGroup.blocksRaycasts = false;
    }
    public override void DoOnExiting()
    {
        transform.DOLocalMoveY(776f, 0.5f);
    }
    public override void DoOnResuming()
    {
        this.canvasGroup.blocksRaycasts = true;
    }
    public void OnCloseClick()
    {
        UIManager._Instance.PopUIPanel();
    }
}
